package br.com.stakeHolder.bo.impl;
 
import java.util.List;

import javax.inject.Inject;
import javax.inject.Named;

import br.com.stakeHolder.bo.StakeHolderBO;
import br.com.stakeHolder.model.StakeHolder;
import br.com.stakeHolder.model.dao.StakeHolderDAO;

public class StakeHolderBOImpl implements StakeHolderBO {

	StakeHolderDAO stakeHolderDAO;
	
	public void setStakeHolderDAO(StakeHolderDAO stakeHolderDAO) {
		this.stakeHolderDAO = stakeHolderDAO;
	}

	public void add(StakeHolder stakeHolder){
		stakeHolderDAO.save(stakeHolder);
	}
 
	public List<StakeHolder> findAll(){
		return stakeHolderDAO.listAll();
	}

}